package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author Koumiba
 * @since 2017-03-24
 */
@TableName("tb_member")
public class Member extends Model<Member> {

    private static final long serialVersionUID = 1L;
    /** 主键ID */
	@TableId
	private Long tbid;
    /**
     * 用户名
     */
	private String username;
    /**
     * 密码
     */
	private String password;
    /**
     * 锁屏密码
     */
	private String lockpassword;
    /**
     * 用户类型，0（普通用户）1（管理员）
     */
	private Integer type;
    /**
     * 权限id
     */
	@TableField("permission_id")
	private Long permissionId;
    /**
     * [应用码头]应用id，用","相连
     */
	private String dock;
    /**
     * [桌面1]应用id，用","相连
     */
	private String desk1;
    /**
     * [桌面2]应用id，用","相连
     */
	private String desk2;
    /**
     * [桌面3]应用id，用","相连
     */
	private String desk3;
    /**
     * [桌面4]应用id，用","相连
     */
	private String desk4;
    /**
     * [桌面5]应用id，用","相连
     */
	private String desk5;
    /**
     * 图标排列方式，x（横向排列）y（纵向排列）
     */
	private String appxy;
    /**
     * 默认桌面
     */
	private Integer desk;
    /**
     * 应用码头位置，top（顶部）left（左侧）right（右侧）none（隐藏）
     */
	private String dockpos;
    /**
     * 图标尺寸
     */
	private Integer appsize;
    /**
     * 图标垂直间距
     */
	private Integer appverticalspacing;
    /**
     * 图标水平间距
     */
	private Integer apphorizontalspacing;
    /**
     * 壁纸id
     */
	@TableField("wallpaper_id")
	private Integer wallpaperId;
    /**
     * 壁纸网址
     */
	private String wallpaperwebsite;
    /**
     * 1（系统壁纸）2（自定义壁纸）3（网络地址）
     */
	private Integer wallpaperstate;
    /**
     * 壁纸显示方式，tianchong（填充）shiying（适应）pingpu（平铺）lashen（拉伸）juzhong（居中）
     */
	private String wallpapertype;
    /**
     * 窗口皮肤
     */
	private String skin;
    /**
     * 注册时间
     */
	private Date regdt;
    /**
     * 上次登录时间
     */
	private Date lastlogindt;
    /**
     * 上次登录IP
     */
	private String lastloginip;
    /**
     * 本次登陆时间
     */
	private Date thislogindt;
    /**
     * 本次登录IP
     */
	private String thisloginip;
	@TableField("openid_qq")
	private String openidQq;
	@TableField("openname_qq")
	private String opennameQq;
	@TableField("openavatar_qq")
	private String openavatarQq;
	@TableField("openurl_qq")
	private String openurlQq;
	@TableField("openid_sinaweibo")
	private String openidSinaweibo;
	@TableField("openname_sinaweibo")
	private String opennameSinaweibo;
	@TableField("openavatar_sinaweibo")
	private String openavatarSinaweibo;
	@TableField("openurl_sinaweibo")
	private String openurlSinaweibo;
	@TableField("openid_tweibo")
	private String openidTweibo;
	@TableField("openname_tweibo")
	private String opennameTweibo;
	@TableField("openavatar_tweibo")
	private String openavatarTweibo;
	@TableField("openurl_tweibo")
	private String openurlTweibo;
	@TableField("openid_t163weibo")
	private String openidT163weibo;
	@TableField("openname_t163weibo")
	private String opennameT163weibo;
	@TableField("openavatar_t163weibo")
	private String openavatarT163weibo;
	@TableField("openurl_t163weibo")
	private String openurlT163weibo;
	@TableField("openid_renren")
	private String openidRenren;
	@TableField("openname_renren")
	private String opennameRenren;
	@TableField("openavatar_renren")
	private String openavatarRenren;
	@TableField("openurl_renren")
	private String openurlRenren;
	@TableField("openid_baidu")
	private String openidBaidu;
	@TableField("openname_baidu")
	private String opennameBaidu;
	@TableField("openavatar_baidu")
	private String openavatarBaidu;
	@TableField("openurl_baidu")
	private String openurlBaidu;
	@TableField("openid_douban")
	private String openidDouban;
	@TableField("openname_douban")
	private String opennameDouban;
	@TableField("openavatar_douban")
	private String openavatarDouban;
	@TableField("openurl_douban")
	private String openurlDouban;


	public Long getTbid() {
		return tbid;
	}

	public void setTbid(Long tbid) {
		this.tbid = tbid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getLockpassword() {
		return lockpassword;
	}

	public void setLockpassword(String lockpassword) {
		this.lockpassword = lockpassword;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getPermissionId() {
		return permissionId;
	}

	public void setPermissionId(Long permissionId) {
		this.permissionId = permissionId;
	}

	public String getDock() {
		return dock;
	}

	public void setDock(String dock) {
		this.dock = dock;
	}

	public String getDesk1() {
		return desk1;
	}

	public void setDesk1(String desk1) {
		this.desk1 = desk1;
	}

	public String getDesk2() {
		return desk2;
	}

	public void setDesk2(String desk2) {
		this.desk2 = desk2;
	}

	public String getDesk3() {
		return desk3;
	}

	public void setDesk3(String desk3) {
		this.desk3 = desk3;
	}

	public String getDesk4() {
		return desk4;
	}

	public void setDesk4(String desk4) {
		this.desk4 = desk4;
	}

	public String getDesk5() {
		return desk5;
	}

	public void setDesk5(String desk5) {
		this.desk5 = desk5;
	}

	public String getAppxy() {
		return appxy;
	}

	public void setAppxy(String appxy) {
		this.appxy = appxy;
	}

	public Integer getDesk() {
		return desk;
	}

	public void setDesk(Integer desk) {
		this.desk = desk;
	}

	public String getDockpos() {
		return dockpos;
	}

	public void setDockpos(String dockpos) {
		this.dockpos = dockpos;
	}

	public Integer getAppsize() {
		return appsize;
	}

	public void setAppsize(Integer appsize) {
		this.appsize = appsize;
	}

	public Integer getAppverticalspacing() {
		return appverticalspacing;
	}

	public void setAppverticalspacing(Integer appverticalspacing) {
		this.appverticalspacing = appverticalspacing;
	}

	public Integer getApphorizontalspacing() {
		return apphorizontalspacing;
	}

	public void setApphorizontalspacing(Integer apphorizontalspacing) {
		this.apphorizontalspacing = apphorizontalspacing;
	}

	public Integer getWallpaperId() {
		return wallpaperId;
	}

	public void setWallpaperId(Integer wallpaperId) {
		this.wallpaperId = wallpaperId;
	}

	public String getWallpaperwebsite() {
		return wallpaperwebsite;
	}

	public void setWallpaperwebsite(String wallpaperwebsite) {
		this.wallpaperwebsite = wallpaperwebsite;
	}

	public Integer getWallpaperstate() {
		return wallpaperstate;
	}

	public void setWallpaperstate(Integer wallpaperstate) {
		this.wallpaperstate = wallpaperstate;
	}

	public String getWallpapertype() {
		return wallpapertype;
	}

	public void setWallpapertype(String wallpapertype) {
		this.wallpapertype = wallpapertype;
	}

	public String getSkin() {
		return skin;
	}

	public void setSkin(String skin) {
		this.skin = skin;
	}

	public Date getRegdt() {
		return regdt;
	}

	public void setRegdt(Date regdt) {
		this.regdt = regdt;
	}

	public Date getLastlogindt() {
		return lastlogindt;
	}

	public void setLastlogindt(Date lastlogindt) {
		this.lastlogindt = lastlogindt;
	}

	public String getLastloginip() {
		return lastloginip;
	}

	public void setLastloginip(String lastloginip) {
		this.lastloginip = lastloginip;
	}

	public Date getThislogindt() {
		return thislogindt;
	}

	public void setThislogindt(Date thislogindt) {
		this.thislogindt = thislogindt;
	}

	public String getThisloginip() {
		return thisloginip;
	}

	public void setThisloginip(String thisloginip) {
		this.thisloginip = thisloginip;
	}

	public String getOpenidQq() {
		return openidQq;
	}

	public void setOpenidQq(String openidQq) {
		this.openidQq = openidQq;
	}

	public String getOpennameQq() {
		return opennameQq;
	}

	public void setOpennameQq(String opennameQq) {
		this.opennameQq = opennameQq;
	}

	public String getOpenavatarQq() {
		return openavatarQq;
	}

	public void setOpenavatarQq(String openavatarQq) {
		this.openavatarQq = openavatarQq;
	}

	public String getOpenurlQq() {
		return openurlQq;
	}

	public void setOpenurlQq(String openurlQq) {
		this.openurlQq = openurlQq;
	}

	public String getOpenidSinaweibo() {
		return openidSinaweibo;
	}

	public void setOpenidSinaweibo(String openidSinaweibo) {
		this.openidSinaweibo = openidSinaweibo;
	}

	public String getOpennameSinaweibo() {
		return opennameSinaweibo;
	}

	public void setOpennameSinaweibo(String opennameSinaweibo) {
		this.opennameSinaweibo = opennameSinaweibo;
	}

	public String getOpenavatarSinaweibo() {
		return openavatarSinaweibo;
	}

	public void setOpenavatarSinaweibo(String openavatarSinaweibo) {
		this.openavatarSinaweibo = openavatarSinaweibo;
	}

	public String getOpenurlSinaweibo() {
		return openurlSinaweibo;
	}

	public void setOpenurlSinaweibo(String openurlSinaweibo) {
		this.openurlSinaweibo = openurlSinaweibo;
	}

	public String getOpenidTweibo() {
		return openidTweibo;
	}

	public void setOpenidTweibo(String openidTweibo) {
		this.openidTweibo = openidTweibo;
	}

	public String getOpennameTweibo() {
		return opennameTweibo;
	}

	public void setOpennameTweibo(String opennameTweibo) {
		this.opennameTweibo = opennameTweibo;
	}

	public String getOpenavatarTweibo() {
		return openavatarTweibo;
	}

	public void setOpenavatarTweibo(String openavatarTweibo) {
		this.openavatarTweibo = openavatarTweibo;
	}

	public String getOpenurlTweibo() {
		return openurlTweibo;
	}

	public void setOpenurlTweibo(String openurlTweibo) {
		this.openurlTweibo = openurlTweibo;
	}

	public String getOpenidT163weibo() {
		return openidT163weibo;
	}

	public void setOpenidT163weibo(String openidT163weibo) {
		this.openidT163weibo = openidT163weibo;
	}

	public String getOpennameT163weibo() {
		return opennameT163weibo;
	}

	public void setOpennameT163weibo(String opennameT163weibo) {
		this.opennameT163weibo = opennameT163weibo;
	}

	public String getOpenavatarT163weibo() {
		return openavatarT163weibo;
	}

	public void setOpenavatarT163weibo(String openavatarT163weibo) {
		this.openavatarT163weibo = openavatarT163weibo;
	}

	public String getOpenurlT163weibo() {
		return openurlT163weibo;
	}

	public void setOpenurlT163weibo(String openurlT163weibo) {
		this.openurlT163weibo = openurlT163weibo;
	}

	public String getOpenidRenren() {
		return openidRenren;
	}

	public void setOpenidRenren(String openidRenren) {
		this.openidRenren = openidRenren;
	}

	public String getOpennameRenren() {
		return opennameRenren;
	}

	public void setOpennameRenren(String opennameRenren) {
		this.opennameRenren = opennameRenren;
	}

	public String getOpenavatarRenren() {
		return openavatarRenren;
	}

	public void setOpenavatarRenren(String openavatarRenren) {
		this.openavatarRenren = openavatarRenren;
	}

	public String getOpenurlRenren() {
		return openurlRenren;
	}

	public void setOpenurlRenren(String openurlRenren) {
		this.openurlRenren = openurlRenren;
	}

	public String getOpenidBaidu() {
		return openidBaidu;
	}

	public void setOpenidBaidu(String openidBaidu) {
		this.openidBaidu = openidBaidu;
	}

	public String getOpennameBaidu() {
		return opennameBaidu;
	}

	public void setOpennameBaidu(String opennameBaidu) {
		this.opennameBaidu = opennameBaidu;
	}

	public String getOpenavatarBaidu() {
		return openavatarBaidu;
	}

	public void setOpenavatarBaidu(String openavatarBaidu) {
		this.openavatarBaidu = openavatarBaidu;
	}

	public String getOpenurlBaidu() {
		return openurlBaidu;
	}

	public void setOpenurlBaidu(String openurlBaidu) {
		this.openurlBaidu = openurlBaidu;
	}

	public String getOpenidDouban() {
		return openidDouban;
	}

	public void setOpenidDouban(String openidDouban) {
		this.openidDouban = openidDouban;
	}

	public String getOpennameDouban() {
		return opennameDouban;
	}

	public void setOpennameDouban(String opennameDouban) {
		this.opennameDouban = opennameDouban;
	}

	public String getOpenavatarDouban() {
		return openavatarDouban;
	}

	public void setOpenavatarDouban(String openavatarDouban) {
		this.openavatarDouban = openavatarDouban;
	}

	public String getOpenurlDouban() {
		return openurlDouban;
	}

	public void setOpenurlDouban(String openurlDouban) {
		this.openurlDouban = openurlDouban;
	}

	@Override
	protected Serializable pkVal() {
		return this.tbid;
	}

}
